﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Index.Master" AutoEventWireup="true" CodeBehind="home_Search.aspx.cs" Inherits="Dryricenet.home_Search" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link href="CSS/menu.css" rel="stylesheet" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
     <div id="meiSi"  style="margin-top:40px;">
        <asp:DataList ID="DataList1" runat="server" Height="22%" RepeatColumns="5" Width="236px">
            <ItemTemplate>
                <a href="home_Details.aspx?FoodID=<%#DataBinder.Eval(Container.DataItem, "FoodID") %>" class="td_a">
                    <table border="0" bordercolor="#00FFFF" cellpadding="3" cellspacing="1"
                        style="border-collapse: collapse;" width="100%">

                        <tr>
                            <td  style="text-align: center;" height="140">
                                <asp:Image ID="Image1" runat="server" Height="100%" ImageUrl='<%# Eval("PicUrl") %>'
                                    Width="206" CssClass="td_img" />
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:Literal ID="Literal1" runat="server" Text='<%# Eval("FoodName") %>'></asp:Literal>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <span style="color: red; font-size: 17px;">￥</span>
                                <asp:Label ID="Label1" runat="server" Text='<%# Eval("Price") %>' ForeColor="Red" CssClass="qian"></asp:Label>
                            </td>
                        </tr>
                </a>
                </table>
            </ItemTemplate>
        </asp:DataList>
    </div>
</asp:Content>
